package com.dmy.component;

import javax.swing.*;

// 简单的蛇
public class SimpleSnake extends Snake {

    public SimpleSnake(JComponent jComponent) {
        super(jComponent);
    }

    @Override
    protected void init(InitConfig config) {
        super.init(config);
        config.setName("至尊小白龙");
        config.setSnakeLength(2);
    }
}
